package cn.zwx.common.rocket.consumer.enums;

/**
 * @author zhangwenxue
 */
public enum ReturnCodeEnum {

    /**
     *  处理成功code
     **/
    SUCCESS("000000","处理成功!"),

    /**
     *  处理失败code
     **/
    FAILED("999998","处理失败!"),
    ;

    private String code;

    private String desc;

    ReturnCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
